package light.mvc.service.admin;

import java.util.List;

import light.mvc.page.admin.Role;
import light.mvc.page.base.DropDownBox;
import light.mvc.page.base.PageFilter;
import light.mvc.page.base.Tree;


public interface RoleServiceI {
	
	public void add(Role role);

	public void delete(Integer id);

	public void edit(Role role);

	public Role get(Integer id);
	
	public List<Role> dataGrid(Role role, PageFilter ph);

	public Long count(Role role, PageFilter ph);
	
	public List<Tree> tree();
	
	public void grant(Role role);
	
	public List<DropDownBox> listName();

}
